package dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import entity.Department;

public interface DepartmentMapper {
	
   public Department selectbyPrimarykeyinDepartment(int deptno);
	
   public List<Department> SelectDepartment();
	
   public void insertNewDepartment(Department newDepartment);
	
   public void deleteOldDepartment(int deptno);
	
   public void updatebyPrimarykey(Department newDepartment);
	
   public List<Department> selectDepartmentBynameandlocation(@Param("name") String name,@Param("location") String location);
}
